package com.autumn.config.api.vo;

import com.autumn.config.api.vo.ServiceBaseValue;
import com.autumn.validation.constraints.NotNullOrBlank;

/**
 * 应用数据源输入
 * 
 * @author 老码农
 *         <p>
 *         Description
 *         </p>
 * @date 2018-01-02 21:21:08
 */
public class ServiceDataSourceValue extends ServiceBaseValue {

	/**
	 * 
	 */
	private static final long serialVersionUID = 518681984156989400L;

	@NotNullOrBlank(message = "目标服务 Id 不能为 null 或空白值。")
	private String targetServiceId;
	@NotNullOrBlank(message = "连接类型不能为 null 或空白值。")
	private Integer connectionType;

	public String getTargetServiceId() {
		return targetServiceId;
	}

	public void setTargetServiceId(String targetServiceId) {
		this.targetServiceId = targetServiceId;
	}

	public Integer getConnectionType() {
		return connectionType;
	}

	public void setConnectionType(Integer connectionType) {
		this.connectionType = connectionType;
	}

}
